package com.webank.wedatasphere.qualitis.question.service;

import com.webank.wedatasphere.qualitis.question.controller.vo.MyOrderDetailVo;
import com.webank.wedatasphere.qualitis.question.entity.Order;

import java.util.List;

public interface MyOrderService {
    /**
     * 转交
     * @param ids order id list
     * @param handler user id
     * @return update
     */
    int transfer(List<Long> ids, Long handler);

    /**
     * 接单
     * @param ids
     * @return
     */
    int orders(List<Long> ids);

    MyOrderDetailVo getDetailVo(Long id);

    /**
     * 完成工单
     * @param order
     * @return
     */
    boolean complete(Order order);
}
